package 强化训练;

import java.util.Scanner;
//简单题，通过
public class day42解读密码 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            String s1 = sc.nextLine();
            StringBuilder sb = new StringBuilder();
            for(int i =0;i < s1.length();i++){
                if(s1.charAt(i) - '0' >= 0 && s1.charAt(i) - '9' <= 0){
                    sb.append(s1.charAt(i));
                }
            }
            System.out.println(sb);
        }
    }
}
